Skip to content

Conversation

@philips-software-forest-releaser
Copy link
Contributor

Note

Before merging this PR, please conduct a manual test checking basic functionality of the updated plug-ins. There are limited automated tests for the VS Code Extension updates.

Updates rust-lang.rust-analyzer from 0.3.2345 to 0.3.2353

Release notes

Commit: 37acea8
Release: 2025-03-24 (v0.3.2353)

New Features

Fixes

  • #19384 fix stale "Building CrateGraph" report.
  • #19416 handle multiple #[repr(..)] attributes correctly.
  • #19362 speed up resolving a "Generate delegate method" assist.
  • #19348 add text edit support for return type hints on non-block body closures.
  • #19413 properly calculate the layout of unsized tuple pointers.
  • #19320 mark manual trait implementations as unsafe when replacing a derive.
  • #19400 fix syntax highlighting for &raw const / &raw mut in standalone files.
  • #19397 add postfix completion for const block.
  • #19005 fix testing of packages with multiple targets.

Internal Improvements

  • #19408 replace #[derive]s to reduce codegen burden for generated syntax types.
  • #19390 do not use Expander in associated item lowering.
  • #19412 remove some unnecessary usages of Semantics.
  • #19429 remove unused dependencies.
  • #19419 render layout and other extra information when hovering Self.
  • #19329 add some docs to proc-macro-api.
  • #19379 bump Edition::CURRENT to 2024.
  • #19378 trigger salsa LRU at the end of analysis-stats.
  • #19315 do not generate docs with in xtask codegen --check.
  • #19391 clean up proc-macro-srv CI job.

See also the changelog post.

Commit: b0632f7
Release: 2025-03-17 (v0.3.2345)

Announcement

This release brings two major changes, which might make it slightly spicier than usual.

The first is upgrading to the latest version of salsa, the incremental evaluation framework used by rust-analyzer.
This will make it possible to implement parallel evaluation and persistency in the future.

The second change is to use salsa for the crate graph, making it incremental.
Adding or removing a dependency, or editing a build script or proc macro, will now invalidate only the affected crates instead of the entire workspace.

New Features

  • #19079, #19332 warn when a rename will change the meaning of the program:

  • #18964 put a new batch of salsa on rust-analyzer.

  • #19337 put salsa on the crate graph.

  • #19271 add "Convert for into while let" assist.

Fixes

  • #19344 add icons to VS Code views:

    Screenshot showing an icon on the Explorer: Rust Dependencies sidebar

  • #19252 fix syntax fixup producing invalid punctuation.

  • #19333 fix diagnostics being cleared right after being received.

  • #19330 normalize projections in evaluated const display and layout calculation.

  • #19363 display varargs in completion detail.

  • #19325 rank ADT constructors as such for completion scoring.

  • #19326 add missing name-ref parents to syntactic highlighting.

  • #19327 fix path macro hygiene.

  • #19311 log build script error output for Cargo projects.

  • #19351 don't panic when the crate graph isn't ready.

  • #19356 avoid recursively debug printing crates.

Internal Improvements

  • #19314 (first contribution) impl HasSource for VariantDef.
  • #19367 drop legacy salsa.
  • #19354 prepare for Return Type Notation (RTN) and add a diagnostic.
  • #19232 bump chalk to get support for async closures.
  • #19305 vendor query-group-macro in rust-analyzer.
  • #19364 add missing with_durability calls.
  • #19368 remove CrateGraphBuilder::iter_mut.
  • #19236 switch to the 2024 edition.
  • #19369 do not error out for actions with no data to resolve.
  • #19366 remove legacy SyntaxContextId re-export.
  • #19228 split up some ADT queries.
  • #19355 render root syntax contexts more clearly.
  • #19343 make GenericParamsCollector::type_or_consts private.
  • #19328 run proc-macro server tests in a separate CI job.
  • #19334 remove generated mdbook files.

See also the changelog post.

Commit: 5e7dd31
Release: 2025-03-10 (v0.3.2337)

New Features

  • #19243 allow unsetting default #[cfg]s.
  • #19265 add diagnostic for dangling dyn and impl.

Fixes

  • #19226 (first contribution) improve completions that return a reference.
  • #19279 (first contribution) add letm and improve let keyword completion.
  • #19308 bring back support for Rust 1.78 projects.
  • #19261 support tuple structs in expand_rest_pattern.
  • #19324 fix adding of brackets in "Inline variable".
  • #19297 fix completion relevance check.
  • #19290 warn when cargo metadata fails.
  • #19292 handle modifiers in punctuation highlighting.
  • #19274 don't highlight unsafe definitions as unsafe.
  • #19295 make "rust-analyzer: Run" available in manifest file.

Internal Improvements

  • #19288 (first contribution) use size_of from the prelude.
  • #19244, #19275 warn when the active toolchain is too old.
  • #19286 twiddle with the rustup invocation on CI.

See also the changelog post.

Commit: 02862f5
Release: 2025-03-04 (v0.3.2330)

New Features

  • #19243 allow unsetting default #[cfg]s.

Fixes

  • #19226 (first contribution) improve completions that return a reference.
  • #19261 support tuple structs in expand_rest_pattern.

Internal Improvements

See also the changelog post.

Commit: 81ff38f
Release: 2025-03-03 (v0.3.2328)

Announcement

The x86-64, AArch64 and ARM Linux binaries now target GLIBC 2.28, and will keep doing so for the foreseeable future, which might be until June 2029.

In addition, this version drops support for toolchains older than 1.82.

New Features

  • #18987 calculate drop glue and show it on hover.
  • #19259 add "flip or-pattern" assist.
  • #19230 set up Zig on CI and start using it in rust-analyzer.

Fixes

  • #19197 (first contribution) update insta inline snapshot using cargo insta when clicking "Update Test" runnable.
  • #19246 (first contribution) add anchor for intra-doc links to associated items.
  • #19266 (first contribution) add identifier to pull diagnostic LSP capabilities.
  • #19211 include private items in completions for local crates.
  • #19223 support target features implications in target_feature 1.1.
  • #19204 allow package/feature format for features.
  • #19241 map crate ids for proc macros in sysroot crate graph construction.
  • #19249 avoid unnecessary parantheses in prefix adjustment hints.
  • #19250 use precedence calculation for parentheses in inline_local_variable.
  • #19221 add tab stop to impl body in generate_trait_impl.

Internal Improvements

  • #19239 (first contribution) configure out performance counters on ohos to fix compilation.
  • #19096 allow rust-project.json to specify sysroot workspace.
  • #19225 migrate remove_mut, remove_parantheses and remove_unused_param to SyntaxEditor.
  • #19171 migrate apply_demorgan to SyntaxEditor.
  • #19253 migrate convert_bool_then to SyntaxEditor.
  • #19251 remove syntax editing from parenthesis computation.
  • #19257 clean up syntax highlighting.
  • #19219 vendor always-assert into stdx.
  • #19237 enable doctests.
  • #19218 make release builds from source non-incremental.
  • #19194 bump VS Code extension deps.

See also the changelog post.

Commit: 6d68c47
Release: 2025-02-24 (v0.3.2319)

New Features

  • #19158 (first contribution) add expand_glob_reexport assist.
  • #19127 refactor path lowering and serve a new path diagnostic.

Fixes

  • #19151 (first contribution) use correct working directory for proc macro execution.
  • #19179 disable assists with many results if grouping not supported.
  • #19182 fix associated type lowering in trait bounds.
  • #19167 fix detection of ref patterns for path patterns.

Internal Improvements

  • #19209 (first contribution) fix inline parser codegen test.
  • #19191 remove limit crate in favor usize.
  • #19188 use ubuntu-latest (with Rocky Linux 8) workers for releases.

See also the changelog post.

Commit: 84b6936
Release: 2025-02-17 (v0.3.2308)

Fixes

  • #19088 (first contribution) fix resolution with modules that shadow built-in types.
  • #19117, #19144 (first contribution) don't emit implicit drop inlay hints in macro calls.
  • #19137 (first contribution) highlight extern crate in doc comments.
  • #19156 (first contribution) mark ~/.cargo/git/checkouts as read-only.
  • #19129 fix postfix completions in macro calls.
  • #19148, #19160 improve error recovery when calling a field or associated function.
  • #19125 censor #[cfg_attr] for attribute macros.
  • #19124 fix off-by-one error in range formatting.
  • #18998 make rust-analyzer.files.excludeDirs actually work.
  • #19111 apply adjustments to proper expression in CoerceMany.
  • #19109 do not show safety hints for extern items lacking semantics.
  • #18928 handle character boundaries in import search.
  • #18995 lower range pattern bounds to expressions.
  • #19143 propagate error types in MIR type projections.

Internal Improvements

  • #19110 (first contribution) panic_context.
  • #19142 spawn toolchain querying processes in parallel.
  • #19155 migrate add_missing_match_arms to SyntaxFactory.
  • #19163 stabilize sort order of related_tests.
  • #19161, #19166 improve sort order of runnables.
  • #19159 set RUSTUP_TOOLCHAIN when loading sysroot workspace.
  • #19150 apply cfg.setTest to rust-project.json.

See also the changelog post.

Commit: 35181e1
Release: 2025-02-10 (v0.3.2299)

New Features

  • #19104 add option to disable inlay type hints for closure parameters.

Fixes

  • #19066 array types from slice patterns.
  • #19094 fix IDE resolution of use inside bodies.
  • #19086 fix some MIR eval and lowering issues.
  • #18912 up-map ranges in convert_tuple_struct_to_named_struct.
  • #19105 don't emit empty SCIP occurrence for built-ins.
  • #19062 fix SCIP indexing of module names.
  • #19106 resolve projection types before checking pointer casts.

Internal Improvements

  • #19083 (first contribution) don't try to use NEON on big-endian AArch64.
  • #19084 split cache priming into distinct phases.
  • #19085 don't use InferenceResult::has_errors flag for MIR building.
  • #19099 use interior mutability for loaded ProcMacroSrv::expanders.
  • #19093 prevent panics from tearing down worker threads.

See also the changelog post.

Commit: f3998f7
Release: 2025-02-03 (v0.3.2291)

New Features

  • #19001, #19063 implement default-field-values.
  • #19038 support RFC 2396 (target-feature 1.1).

Fixes

  • #19061 temporarily disable Receiver-based completions.
  • #19050 don't suggest .into_iter().method() on iterators.
  • #19047 fix syntactic highlighting for renames.
  • #19044 fix #[rustc_deprecated_safe_2024].
  • #19045 fix a missing standard semantic token.
  • #19037 delay recursion check, to help with custom #[test] macros.
  • #19051 mark unsafe function pointer calls as unsafe.
  • #19056 properly handle CRLF line endings in the syntax tree view.
  • #19057 show status bar item in the VS Code Output pane.

Internal Improvements

  • #19072 (first contribution) be more principled when computing completion_item_hash.
  • #19055 (first contribution) enable some working code on FreeBSD.
  • #19052, #19080 prioritize formatting tasks and only take read VFS lock when rebuilding the crate graph.
  • #19036 split out ExpressionStore from Body.
  • #19070 remove mutable syntax tree usage from adjustment hints.
  • #19067 bump TentHash to 1.0.
  • #19015 convert manual to mdBook.

See also the changelog post.

Commit: 2df4ecf
Release: 2025-01-27 (v0.3.2282)

New Features

  • #18934 add the ability to jump from into to from definitions.
  • #18993 make auto-insertion of await and iter() in completions configurable.
  • #19012 implement arbitrary_self_types.

Fixes

  • #19004 (first contribution) increase AUTODEREF_RECURSION_LIMIT to 20.

  • #18973 make niches into nices (improve niche count rendering).

    a type with nicely-formatted 2⁶³ niches

  • #19034 don't complete #[doc(hidden)] enum variants and use trees.

  • #18976 consider enum variants in type ns resolution.

  • #18988 de-prioritize completions that add await and iter().

  • #19016, #19018 record glob imports in ItemScope.

  • #19028 filter by path stability in flyimport.

  • #19030 fix markdown horizontal ruler sometimes being treated as a heading.

  • #19020 prevent infinite recursion when formatting bounds.

  • #19017 fix flycheck panic with once invocation strategy.

  • #18977 fix missing upmapping in trait impl completion.

  • #18982 reduce "Extract variable" range.

  • #18967 properly record meaningful imports as re-exports in symbol index.

  • #18986 go to Display::fmt when invoked on to_string.

  • #19014 check cfgs when collecting macro defs.

  • #19026 only collect implicit visibile use symbols if they have renames.

  • #19033 make proc-macro-srv spans lines and columns 1-indexed (but always 1).

  • #19019 explicitly add buildfiles when constructing ProjectFolders.

  • #18989 only refresh syntax tree view when the active document changes.

Internal Improvements

  • #18981 (first contribution) make usage of RTLD_DEEPBIND in proc macro server portable.
  • #18991 keep already computed inlay hint properties instead of late resolving them.
  • #19029 skip redundant path search in resolve_completion_edits.
  • #18909 use strict_provenance in symbol interner.
  • #18984 move dual blanket impl logic from source_analyzer to goto_def.
  • #18990 clean up Name string rendering.
  • #18994 treat cfg fetching failures as a warning, not error.
  • #18878 document all rust-project.json fields.
  • #18972 drop outgoing lsp-server messages on a background thread.

See also the changelog post.

Commit: 248bd51
Release: 2025-01-20 (v0.3.2273)

New Features

  • #18917 add dereferencing completions.
  • #18927 automatically include await, iter() and into_iter() in completions
  • #18925 render type parameter projection target bounds in inlay hints.
  • #18946, #18950 show "Go to type definition" actions for type bounds in functions.
  • #18952 complete raw and const keywords.
  • #18939 flip rust-analyzer.typing.excludeChars to be opt-in, with better defaults.

Fixes

  • #18908 (first contribution) report errors blocks before else in let-else.
  • #18953 (first contribution) fix broken #[cfg(debug_assertions)].
  • #18933 (first contribution) bump update notify to fix a Windows crash.
  • #18944 update chalk, to fix trait upcasting.
  • #18949 partially back out "fix source root construction for virtual manifests".
  • #18929 avoid stack overflow when reaching macro expansion limit.
  • #18940 fix Semantics not always caching file roots correctly.
  • #18922 don't return inlay hints outside requested range.
  • #18897 make test_runner::TestState::stdout optional to fix parsing cargo test JSON output.
  • #18968 enable unstable-options for cargo rustc --print.
  • #18937 hide syntax tree view by default.

Internal Improvements

  • #18957 update syntax tree viewer docs.
  • #18951 add missing #[rust_analyzer::rust_fixture] annotations.

See also the changelog post.

Commit: 8364ef2
Release: 2025-01-13 (v0.3.2264)

New Features

  • #18880 (first contribution) add config to include additional paths in the VFS.
  • #18885 (first contribution) change rust-analyzer.cargo.cfgs from a map to a list.
  • #18907 implement #[rust_analyzer::skip] for bodies.
  • #18903 implement implicit sized bound inlay hints.
  • #18813 reimplement the syntax tree view as a sidebar.
  • #18906 reimplement Rust string highlighting using a tool attribute.
  • #18788 re-remove rust-analyzer.cargo.sysrootQueryMetadata.

Fixes

  • #18832 (first contribution) do not offer completions within strings in macro calls.
  • #18866 (first contribution) fix JSON project buildfile inclusion.
  • #18858 clear diagnostics on cancel unconditionally.
  • #18853 fix case where completion inside macro that expands to #[test] was unavailable.
  • #18864 fix diagnostics not clearing between flychecks.
  • #18877 fix performance issue on missing MBE bindings.
  • #18884 fix env! completions.
  • #18900 do not call prettify_macro_expansion unless "Inline macro" has actually been invoked.
  • #18904 improve module path rendering in hover.
  • #18861 make edition per-token, not file.
  • #18920 fix ref text edit for binding mode hints.
  • #18889 fix token lookup in macro call completions.
  • #18899 fix another panic in fixup reversing.

Internal Improvements

  • #18855 migrate if-let replacement assists to SyntaxEditor.
  • #18524 migrate (un)wrap_return_type assists to SyntaxEditor.
  • #18902 add Definition::Crate.
  • #18921 compute inlay hint text edits lazily.
  • #18923 compute inlay hint tooltips lazily.
  • #18867 support target-tuple (vs. target-triple) and clean up version fetching.
  • #18887 refactor test helpers within ide-completions.

See also the changelog post.

Commit: 91fc0a2
Release: 2025-01-08 (v0.3.2257)

New Features

  • #18788 re-remove rust-analyzer.cargo.sysrootQueryMetadata.

Fixes

  • #18832 (first contribution) do not offer completions within strings in macro calls.
  • #18866 (first contribution) fix JSON project buildfile inclusion.
  • #18864 fix diagnostics not clearing between flychecks.
  • #18877 fix performance issue on missing MBE bindings.

Internal Improvements

  • #18867 support target-tuple (vs. target-triple) and clean up version fetching.

See also the changelog post.

Commit: cd12ef8
Release: 2025-01-07 (v0.3.2253)

Fixes

  • #18858 clear diagnostics on cancel unconditionally.
  • #18853 fix case where completion inside macro that expands to #[test] was unavailable.

Commit: 3f2bbe9
Release: 2025-01-06 (v0.3.2249)

New Features

  • #18757 add support for updating expect-test, insta and snapbox snapshot tests.
  • #18179 allow excluding specific traits from completion.
  • #18801 show "Go to type definition" actions for generics substitutions on hover.
  • #18821 add support for CoercePointee.

Fixes

  • #18806 (first contribution) re-enable crate graph de-duplication.
  • #18797 (first contribution) generate exhaustive match in "Replace if-let with match".
  • #18758 (first contribution) improve SCIP symbols.
  • #18835 hide synthetic locals from completions.
  • #18791 avoid generating colliding names in "Extract variable".
  • #18794 fix "Fill match arm" producing an extra brace in some proc macros.
  • #18802 use the correct file_id used for ranges for outgoing calls.
  • #18807, #18841 populate cargo config environment variables.
  • #18826, #18848, #18817 properly clear flycheck diagnostics.
  • #18819 fix overflow detection in MIR evaluation.
  • #18843 correctly handle new-style rustc_intrinsic safety.
  • #18845 check the right package in flycheck.
  • #18795, #18820 fix rendering of literals in code blocks.
  • #18836 be more permissive with completion resolve data.
  • #18830 fix custom snippet deserialization.

Internal Improvements

  • #18822 (first contribution) allow targetDir to be an absolute path.
  • #18327, #18852 store token trees in contiguous Vec instead of as a tree.
  • #18809 do not render closure ids in hover messages.
  • #18790 define a quoting mechanism instead of textual AST make.
  • #18805 implement <RaSpanServer as SourceFile>::eq.
  • #18792 decouple proc macro server protocol from the server implementation.
  • #18829, #18831 revert 'revert "disable rustc test metrics"'.

See also the changelog post.

Commit: 59bc7b4
Release: 2024-12-30 (v0.3.2237)

New Features

  • #18707 show substitution where hovering over generic things.
  • #18743 unify handling of path diagnostics in hir-ty.

Fixes

  • #18744 (first contribution) treat ; as a terminator rather than part of a glued expression.
  • #18756 add missing enum name when hovering on variant fields.
  • #18778 fix flycheck diagnostics flickering for binary targets.
  • #18784 do not merge spans with different anchors.
  • #18789 fix invalid -O flag used by cfg discovery.
  • #18722 rename rust-analyzer.statusBar.documentSelector to showStatusBar, add always and never options.

Internal Improvements

  • #18774 implement parameter variance inference.
  • #18718 standardize iterator passing in SyntaxFactory.
  • #18760, #18762 work around leaking salsa cycles.
  • #18761 swallow config value is not set Cargo error.
  • #18754 clean up target fetching for Cargo metadata.
  • #18785 clean up toolchain info fetching.
  • #18750 revert "disable rustc test metrics".
  • #18787 automatically cancel CI checks on new push to PR.

See also the changelog post.

Commit: fa4a40b
Release: 2024-12-23 (v0.3.2228)

New Features

  • #18696 report unresolved idents for implicit captures in format_args!().

Fixes

  • #18723 fix a case where completion was unable to expand a tracing macro.
  • #18699 fix path-qualified auto-importing completions not working with re-exports.
  • #18729 clear flycheck diagnostics more granularly.
  • #18741 delay initial flycheck until after build scripts.
  • #18726 reduce applicability of the unnecessary_async assist.
  • #18695 improve name suggestion for destructure_tuple_binding.
  • #18690 use string literal contents as a name when extracting into variable.
  • #18700 fix unresolved_field when a keyword is used as a field.
  • #18708 fix pretty-printing of @ patterns.
  • #18714 do not ask the client to resolve for non-existent label details.
  • #18716 consider both completion detail fields in to_proto.
  • #18727 fix "tried adding a runnable pointing to a different file" panic.
  • #18739 don't trigger parenthesis wrapping typing handler after identifiers.
  • #18740 fix empty check diagnostics not marking files as changed.
  • #18738, #18742 properly test if workspace flychecking is allowed.
  • #18711 don't mark &raw of deref as unsafe.

Internal Improvements

  • #18715 (first contribution) fix AsmOption rule in rust.ungram.
  • #18731 revert "drop proc macro server support for 1.66 and older toolchains".
  • #18698 don't serialize empty fields in completion and resolve payloads.
  • #18713 cleanup label structure of CompletionItem.
  • #18717, #18735 set result_id for pull diagnostics.
  • #18697 simplify ratoml test directory handling.
  • #18728 use serde_derive intead of derive feature.
  • #18710 remove salsa from proc macro server dependency tree.

See also the changelog post.

Commit: 27e824f
Release: 2024-12-16 (v0.3.2220)

New Features

  • #18670 drop proc macro server support for 1.66 and older toolchains.
  • #18458 add diagnostic fix to remove unnecessary Some or Ok wrapper on type mismatch.
  • #18652 add "Extract into constant" assist.

Fixes

  • #18667 (first contribution) fix "Replace #[derive()]` when snippet text edits are disabled.
  • #18653 hash completion items to properly match them when resolved.
  • #18645 allow uninhabited non-exhaustive structs.
  • #18663 swallow rustfmt parsing panics.
  • #18660 clean up copied proc macro libraries on exit.
  • #18675 fix panic when displaying generic params with defaults, again.
  • #18684 re-enable snippet text edits capability.
  • #18656 preserve order of parameters in "Extract function".
  • #18674 show expansion errors in "Expand macro at caret".
  • #18466 properly handle different defaults for severity of lints.
  • #18668 fix source root construction for virtual manifests.

Internal Improvements

  • #18643 rename test fixture crates to ra_test_fixture.
  • #18644 remove cfg-if patching hack.
  • #18647 disable pipe in typing handler.
  • #18657 migrate generate_enum_variant assist to SyntaxEditor.
  • #18531 map new replacement nodes to their mutable equivalents in SyntaxEditor.
  • #18669 only parse the object file once in proc-macro-srv.
  • #18677 implement naked_asm! built-in.
  • #18672 simplify dummy proc-macro-srv.
  • #18694 show MIR eval errors on hover when debug environment variable is set.
  • #18693 fix proc-macro library names on Windows.
  • #18441 try not cache the config directory path.

See also the changelog post.

Commit: 4c755e6
Release: 2024-12-09 (v0.3.2212)

New Features

  • #18541 add infrastructure and a first type lowering diagnostic.
  • #18609 report union field accesses and inline assembly as unsafe.
  • #18604 complete derive helper attributes.
  • #18594 support AsyncFn traits.
  • #18522 add setting to exclude trigger characters from format-on-type.

Fixes

  • #18610 add implict unsafety inlay hints for extern blocks.
  • #18589 advertise completions and inlay hints resolve based on the client capabilities.
  • #18630 temporarily disable completion resolve support for Helix and Neovim.
  • #18618 fix parsing of integer/keyword name references in various places.
  • #18608 improve parser recovery for paths.
  • #18625 fix parser getting stuck for bad asm expressions.
  • #18593, #18622 fix parsing of parenthesized type arguments and RTN.
  • #18586 inherit environment in debug configurations.
  • #18587 fix syntax fixup inserting unnecessary semicolons.
  • #18555 fix a bug where synthetic AST nodes were looked up in the AST ID map.
  • #18607 fix shadowing of record enum variants in patterns.
  • #18605 fix another glob import name resolution bug.
  • #18611 do not report warnings from proc macros, ever.
  • #18474, #18616 make bracket typing handler work on more things.
  • #18627 improve semicolon insertion typing handler heuristics.
  • #18628 add typing handler for parameter list pipe.
  • #18619 fix panic when displaying generic parameters with defaults.
  • #18620 parse lifetime bounds in lifetime parameters into TypeBoundList.
  • #18621 resolve generic parameters within use captures.
  • #18629 highlight > as part of => in macro_rules! arm.
  • #18633 properly coerce FnDefs to function pointers if they are subtypes.
  • #18592 only show VS Code status bar item in relevant files.

Internal Improvements

  • #18561 (first contribution) add macro expansion test for raw variable names.
  • #18595 remove references to platform-intrinsic ABI.
  • #18483 migrate introduce_named_generic assist to SyntaxFactory.
  • #18538 migrate sort_items assist to SyntaxFactory.
  • #18551 migrate add_turbo_fish assist to SyntaxFditor.
  • #18575 migrate flip assists to SyntaxEditor.

See also the changelog post.

Commit: b65911d
Release: 2024-12-02 (v0.3.2204)

Fixes

  • #18511 re-add rust-analyzer.cargo.sysrootQueryMetadata.
  • #18559 fix stack overflow when computing the sizedness of (co-)recursive types.

Internal Improvements

  • #18577 remove redundant associated type bounds from dyn TypeFolder.

See also the changelog post.

Commit: 327ab29
Release: 2024-11-25 (v0.3.2196)

Fixes

  • #18529 (first contribution) improve selection handling in merge_match_arms.
  • #18459 use snippet placeholders for generated match arms.

Internal Improvements

  • #18485 migrate add_braces assist to use SyntaxFactory.
  • #18521 migrate reorder_impl_items assist to use SyntaxFactory.
  • #18552 fix formatting in "missing rust-src" message.

See also the changelog post.

Commit: ba56d9b
Release: 2024-11-18 (v0.3.2188)

Fixes

  • #18503 use item indices instead of attribute matching when resolving completions.
  • #18519 use correct file in related documents diagnostics.

Internal Improvements

  • #18495 migrate reorder_fields assist to use SyntaxFactory.
  • #18482 add public direct_supertraits and all_supertraits accessors to hir::Trait.

See also the changelog post.

Commit: 30e71b6
Release: 2024-11-11 (v0.3.2180)

New Features

  • #18473 include extern blocks and macros in file outline.

Fixes

  • #18475 support new #[rustc_intrinsic] attribute and fallback bodies.

Internal Improvements

  • #18493 (first contribution) update supported debug engines in configuration.
  • #18486 change minimum VS Code version from 1.78 to 1.83.

See also the changelog post.

Commit: a341d59
Release: 2024-11-04 (v0.3.2172)

New Features

  • #18312 (first contribution) include let statements in file outline.
  • #18420 support +#[cfg(true)]+ and +#[cfg(false)]+.
  • #18469 show static values on hover.
  • #18470 allow interpreting consts and statics with the Interpret command.
  • #18385 add assist to generate a type alias for a function.

Fixes

  • #18436 only render type layout info on definitions, not usages.
  • #18422 properly resolve prelude paths in modules inside blocks.
  • #18413 allow public re-exports of extern crate imports.
  • #18432 honor diagnostic refresh capability.
  • #18382 fix flyimport for aliased functions and modules.
  • #18446 only parse safe as a contextual keyword in extern blocks.
  • #18453 fix parsing of patterns with leading |.

Internal Improvements

  • #18304 (first contribution) add developer setup instructions.
  • #18437 (first contribution) publish test-fixture as ra_ap_test_fixture.
  • #18256 (first contribution) start using Option::is_none_or.
  • #18074 build source map for hir_def::TypeRefs.
  • #18427 clean up TypeRef lowering.
  • #18447 avoid interior mutability in TyLoweringContext.
  • #18448 move child_by_source from hir-def to hir.
  • #18421 move text-edit into ide-db.
  • #18412 stop producing .gz artifacts for Windows.

See also the changelog post.

Commit: 3b3a87f
Release: 2024-10-28 (v0.3.2162)

A Note on Windows Artifacts

The next release will stop including .gz artifacts for Windows.
These are harder to use than the .zip ones, which should be used instead.

New Features

  • #18294 (first contribution) support Option in "Wrap/Unwrap return type".
  • #18362, #18370 (first contribution) support "Go to definition" on range operators and patterns.
  • #18359 (first contribution) add option to not start the server on initialization.
  • #18264 implement mixed-site hygiene.
  • #18404, #18408 implement pull model for diagnostics.
  • #18349 render aliased type documentation when alias doesn't have any.
  • #18418 split macro-error diagnostic so users can ignore parts of it.

Fixes

  • #18407 (first contribution) fix formatting on welcome page.
  • #18376 add text edits to more inlay hints.
  • #18361 fix token downmapping failing for include! inputs.
  • #18254 nail destructuring assignment down once and for all.
  • #18337 don't show private items from modules nested in blocks in completions.
  • #18360 improve completions for extern blocks.
  • #18371 fix parsing of use bounds.
  • [#18388](https://www.github.com/rust-an

@philips-software-forest-releaser philips-software-forest-releaser bot requested a review from a team as a code owner March 30, 2025 02:58
@philips-software-forest-releaser philips-software-forest-releaser bot added dependencies Pull requests that update a dependency file vscode-extensions labels Mar 30, 2025
@sonarqubecloud
Copy link

@github-actions
Copy link
Contributor

Compressed layer size comparison

Comparing ghcr.io/philips-software/amp-devcontainer-rust:latest to ghcr.io/philips-software/amp-devcontainer-rust@sha256:b391b2b2e6b9e30aed94b016a6104995de9a5dcc4bdee71e2ed44ae726809d76

OS/Platform Previous Size Current Size Delta
linux/amd64 484.90M 484.90M 0.00 (+0.00%)
linux/arm64 623.75M 623.75M 0.00 (+0.00%)

@github-actions
Copy link
Contributor

Compressed layer size comparison

Comparing ghcr.io/philips-software/amp-devcontainer-cpp:latest to ghcr.io/philips-software/amp-devcontainer-cpp@sha256:b0f94fca254a8b64526101a4633178418522542bdc577113f2953c318ad3c77f

OS/Platform Previous Size Current Size Delta
linux/amd64 701.55M 701.55M 0.00 (+0.00%)
linux/arm64 683.25M 683.25M 0.00 (+0.00%)

@github-actions
Copy link
Contributor

github-actions bot commented Mar 30, 2025

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ ACTION actionlint 17 0 0 0.08s
✅ DOCKERFILE hadolint 2 0 0 0.47s
✅ GHERKIN gherkin-lint 2 0 0 0.87s
✅ JSON npm-package-json-lint yes no no 1.79s
✅ JSON prettier 15 1 0 0 0.34s
✅ JSON v8r 15 0 0 9.8s
✅ MARKDOWN markdownlint 8 0 0 0 0.87s
✅ MARKDOWN markdown-table-formatter 8 0 0 0 0.25s
✅ REPOSITORY checkov yes no no 15.25s
✅ REPOSITORY gitleaks yes no no 0.27s
✅ REPOSITORY git_diff yes no no 0.01s
✅ REPOSITORY grype yes no no 20.97s
✅ REPOSITORY secretlint yes no no 1.02s
✅ REPOSITORY syft yes no no 1.26s
✅ REPOSITORY trivy yes no no 5.33s
✅ REPOSITORY trivy-sbom yes no no 0.08s
✅ REPOSITORY trufflehog yes no no 3.92s
✅ SPELL lychee 59 0 0 1.24s
✅ YAML prettier 22 0 0 0 0.73s
✅ YAML v8r 22 0 0 7.04s
✅ YAML yamllint 22 0 0 0.42s

See detailed report in MegaLinter reports

You could have the same capabilities but better runtime performances if you use a MegaLinter flavor:

MegaLinter is graciously provided by OX Security

@github-actions
Copy link
Contributor

Test Results

 2 files  ±0   2 suites  ±0   1m 23s ⏱️ +4s
29 tests ±0  29 ✅ ±0  0 💤 ±0  0 ❌ ±0 
31 runs  ±0  31 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 68b17f6. ± Comparison against base commit 8491493.

@rjaegers rjaegers added this pull request to the merge queue Apr 3, 2025
Merged via the queue into main with commit 5b216b1 Apr 3, 2025
23 checks passed
@rjaegers rjaegers deleted the feature/amp-devcontainer-rust/update-vscode-extensions branch April 3, 2025 09:16
@github-actions
Copy link
Contributor

github-actions bot commented Apr 3, 2025

Pull Request Report (#756)

Static measures

Description Value
Number of added lines 1
Number of deleted lines 1
Number of changed files 1
Number of commits 1
Number of reviews 1
Number of comments (w/o review comments) 5
Number of reviews that contains a comment to resolve 0
Number of reviews that requested a change from the author 0
Number of reviews that approved the Pull Request 1
Get the total number of participants of a Pull Request 4

Time related measures

Description Value
PR lead time (from creation to close of PR) 4.3 Days
Time that was spend on the branch before the PR was created 2 Sec
Time that was spend on the branch before the PR was merged 4.3 Days
Time to merge after last review 9.3 Min

Status check related measures

Description Value
Total runtime for last status check run (Workflow for PR) 21.5 Min
Total time spend in last status check run on PR 4.3 Days

@github-actions
Copy link
Contributor

🎉 Hooray! The changes in this pull request went live with the release of v6.0.0 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file vscode-extensions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants